package com.hk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.hk.model.pojo.CourseSubject;
import com.hk.model.pojo.Curriculum;
import com.hk.model.vo.CurriculumVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CurriculumMapper extends BaseMapper<Curriculum> {
    Page<CurriculumVo> list(Integer pageNum, Integer pageSize, String code, String name, String applicablePerson, Integer params, String beginCreateTime, String endCreateTime, String subject);

    void addSubject(CourseSubject courseSubject);

    @Select("select * from curriculum where id = #{id}")
    Curriculum selectByIds(Integer id);
}



